package com.proj.bean;

import java.math.BigDecimal;

public class Goods {
    private Integer id;
    private String name;
    private BigDecimal price;
    private BigDecimal originalprice;
    private String info;
    private int category_id;
    private String defaultimg;
    private int state;

    @Override
    public String toString() {
        return "Goods{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", price=" + price +
                ", originalprice=" + originalprice +
                ", info='" + info + '\'' +
                ", category_id=" + category_id +
                ", defaultimg='" + defaultimg + '\'' +
                ", state=" + state +
                '}';
    }

    public Goods(Integer id, String name, BigDecimal price, BigDecimal originalprice, String info, int category_id, String defaultimg, int state) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.originalprice = originalprice;
        this.info = info;
        this.category_id = category_id;
        this.defaultimg = defaultimg;
        this.state = state;
    }
    public Goods() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getOriginalprice() {
        return originalprice;
    }

    public void setOriginalprice(BigDecimal originalprice) {
        this.originalprice = originalprice;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public int getCategory_id() {
        return category_id;
    }

    public void setCategory_id(int category_id) {
        this.category_id = category_id;
    }

    public String getDefaultimg() {
        return defaultimg;
    }

    public void setDefaultimg(String defaultimg) {
        this.defaultimg = defaultimg;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }
}
